home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt08.dir / 00027_Script_27 < prev    next >
Text File  |  1994-11-15  |  5KB  |  196 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global lastFrame, dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT07"
  7.   set nextLT = "FLWLT09"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltpra901000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   puppetSprite 4, FALSE
  49.   set inFrame = ""
  50.   set ltQT = FALSE
  51.   if the frame > 11 then
  52.     go to frame "ltpra904001°°°" of movie nextLT
  53.   else
  54.     go to marker (+1)
  55.     updateStage
  56.   end if
  57. end ltForStep
  58.  
  59. on ltBackStep
  60.   global inFrame, prevLT, ltQT
  61.   puppetSprite 4, FALSE
  62.   set inFrame = ""
  63.   set ltQT = FALSE
  64.   if the frame < 5 then
  65.     
  66.     go to frame "ltpra897004°°°" of movie prevLT
  67.   else
  68.     go to marker (-1)
  69.     updateStage
  70.   end if
  71. end ltBackStep
  72.  
  73. on checkNav
  74.   if rollover(12) then
  75.     set the castNum of sprite 12 to the number of cast "leftUp"
  76.   else
  77.     set the castNum of sprite 12 to the number of cast "leftRt"
  78.   end if
  79.   
  80.   if rollover(11) then
  81.     set the castNum of sprite 11 to the number of cast "rightUp"
  82.   else
  83.     set the castNum of sprite 11 to the number of cast "rightRt"
  84.   end if
  85.   cursor -1
  86.   updateStage
  87. end checkNav
  88.  
  89. on buttonState
  90.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  91.   
  92.   if dialogOn = FALSE then
  93.     
  94.     --sticking local call here for convenience
  95.     worldLite
  96.     if the mouseV > 200 or bFlag = TRUE then
  97.       set bFlag = FALSE
  98.       doState
  99.     end if
  100.   end if
  101. end buttonState
  102.  
  103. on scrollRight
  104.   if the clickon = 11 then
  105.     sound stop 1
  106.     startTimer
  107.     repeat while the timer < 2
  108.       set the castNum of sprite 11 to the number of cast "rightDn"
  109.       updateStage
  110.     end repeat
  111.     timeRight
  112.     flush
  113.   end if   
  114. end scrollRight
  115.  
  116. on scrollLeft
  117.   if the clickon = 12 then
  118.     sound stop 1
  119.     startTimer
  120.     repeat while the timer < 2
  121.       set the castNum of sprite 12 to the number of cast "leftDn"
  122.       updateStage
  123.     end repeat
  124.     timeLeft
  125.     flush
  126.   end if  
  127. end scrollLeft
  128.  
  129. on timeLeft
  130.   global prevLt
  131.   go to movie prevLT
  132. end timeLeft
  133.  
  134. on timeRight
  135.   global nextLt
  136.   go to movie nextLT
  137. end timeRight
  138.  
  139. on worldLite
  140.   set the castNum of sprite 9 to 2
  141.   if rollover(9) then
  142.     set the castNum of sprite 9 to 26
  143.   end if
  144. end worldLite
  145.  
  146. on jumpVLB8
  147.   global dialogOn 
  148.   if dialogOn = FALSE then
  149.     sound stop 1
  150.     if the clickOn < 7 or the clickOn > 23 then
  151.       if the mouseH > 168 and the mouseH < 243 and the mouseV > 128 and the mouseV < 225 then
  152.         puppetSprite 4, FALSE
  153.         go to frame "ltpra901001°°°"
  154.       else if the mouseH > 282 and the mouseH < 342 and the mouseV > 94 and the mouseV < 209 then
  155.         puppetSprite 4, FALSE
  156.         go to frame "ltpra901002°°°"
  157.       else if the mouseH > 370 and the mouseH < 489 and the mouseV > 82 and the mouseV < 171 then
  158.         puppetSprite 4, FALSE
  159.         go to frame "ltpra901003°°°"
  160.       else if the mouseH > 452 and the mouseH < 618 and the mouseV > 169 and the mouseV < 225 then
  161.         puppetSprite 4, FALSE
  162.         go to frame "ltpra901004°°°"
  163.       else 
  164.         nothing
  165.       end if
  166.     end if
  167.   end if
  168.   flush
  169. end jumpVLB8
  170.  
  171. on rollVLB8
  172.   if the mouseH > 168 and the mouseH < 243 and the mouseV > 128 and the mouseV < 225 then
  173.     set the castNum of sprite 4 to 7
  174.     if the mouseDown then 
  175.       set the castNum of sprite 4 to 4
  176.     end if
  177.   else if the mouseH > 282 and the mouseH < 342 and the mouseV > 94 and the mouseV < 209 then
  178.     set the castNum of sprite 4 to 8
  179.     if the mouseDown then 
  180.       set the castNum of sprite 4 to 4
  181.     end if
  182.   else if the mouseH > 370 and the mouseH < 489 and the mouseV > 82 and the mouseV < 171 then
  183.     set the castNum of sprite 4 to 9
  184.     if the mouseDown then 
  185.       set the castNum of sprite 4 to 4
  186.     end if
  187.   else if the mouseH > 452 and the mouseH < 618 and the mouseV > 169 and the mouseV < 225 then
  188.     set the castNum of sprite 4 to 10
  189.     if the mouseDown then 
  190.       set the castNum of sprite 4 to 4
  191.     end if
  192.   else 
  193.     set the castNum of sprite 4 to 4
  194.   end if
  195.   updateStage
  196. end rollVLB8